#ifndef DEFINE_H
#define DEFINE_H
#define GAME_WIDTH 512 //宽度
#define GAME_HEIGHT 768 //高度
#define GAME_TITLE "W飞机大战小怪兽 " //标题
#define GAME_RES_PATH "./plane.rcc"     //rcc文件路径
#define GAME_ICON "://res/app.ico"
#define MAPPATH ":/n/res/img_bg_level_4.jpg"     //地图图片路径
#define MAPPATH1 ":/n/res/img_bg_level_2.jpg"   //开始界面地图
#define MAP_SCROLL_SPEED  2    //地图滚动速度
#define GAME_RATE 10
#define HERO_PATH ":/n/res/hero2.png"
#define HERO_PATH1 ":/n/new/res/hero2pro.png"
#define BULLET_PATH ":/n/res/bullet_10.png"      //子弹图片路径
#define BULLET_SPEED 5      //子弹移动速度
#define BULLET_NUM  50      //弹匣中子弹总数
#define BULLET_INTERVAL  50       //发射子弹时间间隔
#define ENEMYPATH ":/n/res/img-plane_2.png"    //敌机资源图片
#define ENEMYPATH1 ":/n/res/img-plane_3.png"
#define ENEMYPATH2 ":/n/res/img-plane_5.png"
#define ENEMYPATH3 ":/n/res/img-plane_7.png"
#define ENEMY_SPEED 3    //敌机移动速度
#define ENEMY_NUM 50    //敌机总数量
#define ENEMY_INTERVAL 100    //敌机出场时间间隔
#define BOMB_PATH ":/n/res/bomb-%1.png"    //爆炸资源图片
#define BOMB_NUM 20    //爆炸数量
#define BOMB_MAX 7    //爆炸图片最大索引
#define BOMB_INTERVAL 20    //爆炸切图时间间隔
#define SHIELDS 5
#define ITEM_SPEED 3
#define ITEM_INTERVAL 600
#define ITEM1 ":/n/new/res/护盾2.png"
#define ITEM2 ":/n/new/res/金身1.png"
#define ITEM3 ":/n/new/res/血框1.png"
#define ITEM4
#endif // DEFINE_H
